package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ShenhezhuangtaiMapper;
import com.ruoyi.system.domain.Shenhezhuangtai;
import com.ruoyi.system.service.IShenhezhuangtaiService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
@Service
public class ShenhezhuangtaiServiceImpl implements IShenhezhuangtaiService 
{
    @Autowired
    private ShenhezhuangtaiMapper shenhezhuangtaiMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param statusId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public Shenhezhuangtai selectShenhezhuangtaiByStatusId(Long statusId)
    {
        return shenhezhuangtaiMapper.selectShenhezhuangtaiByStatusId(statusId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param shenhezhuangtai 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<Shenhezhuangtai> selectShenhezhuangtaiList(Shenhezhuangtai shenhezhuangtai)
    {
        return shenhezhuangtaiMapper.selectShenhezhuangtaiList(shenhezhuangtai);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param shenhezhuangtai 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertShenhezhuangtai(Shenhezhuangtai shenhezhuangtai)
    {
        return shenhezhuangtaiMapper.insertShenhezhuangtai(shenhezhuangtai);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param shenhezhuangtai 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateShenhezhuangtai(Shenhezhuangtai shenhezhuangtai)
    {
        return shenhezhuangtaiMapper.updateShenhezhuangtai(shenhezhuangtai);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param statusIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteShenhezhuangtaiByStatusIds(Long[] statusIds)
    {
        return shenhezhuangtaiMapper.deleteShenhezhuangtaiByStatusIds(statusIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param statusId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteShenhezhuangtaiByStatusId(Long statusId)
    {
        return shenhezhuangtaiMapper.deleteShenhezhuangtaiByStatusId(statusId);
    }
}
